package com.example.service.imp;

import com.example.entity.LoginUser;
import com.example.entity.User;
import com.example.mapper.UserMapper;
import com.example.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    UserMapper userMapper;

    @Override
    public User findOneUser(int id) {
        return userMapper.findOneUser(id);
    }


}
